  
  <form action="<?php echo url_for('becas/capturarterminar') ?>" method="POST">
  <table>
      <thead>          
          <tr><th colspan="2"><h2 id="titulo_form"><?php echo $name?></h2></th></tr>
          <tr><td colspan="2"><h3 id="titulo_form"><?php echo $title?></h3></td></tr>
          <tr><td colspan="3"><input type="hidden" name="tipo_convocatoria" id="id_code" value="<?php echo $tipo;?>"/></td></tr>                
          <tr><td colspan="3"><input type="hidden" name="id_convocatoria" id="id_conv" value="<?php echo $id_beca;?>"/></td></tr>
        </thead>
      <tbody>        
       <tr>              
                <th><label>Tipo de Documento</label></th>
                <td>                    
                    <select id="tipo_documento" class="form-control selectpicker" multiple data-selected-text-format="count > 2" data-width="580px" data-live-search="true" name="docs[]" title='Seleccione al menos un tipo de documento'>
                        <option value='0'>Seleccione un tipo de documento</option>
                        <?php foreach ($documentos as $doc): ?>    
                            <option value="<?php echo $doc[0] ?>"><?php echo $doc[1] ?></option>                                                                    
                        <?php endforeach; ?>
                    </select>                
                </td>                
         </tr>         
          </tbody>
          <tfoot>          
          <tr>              
              <td colspan="3"><center><button id="final" class="btn btn-primary">Terminar</button></center></td>
          </tr>
          </tfoot>
          </table>
      </form>